<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<%@ include file="common.jsp"%>
		<title>管理端</title>
	</head>

	<body>
		<header class="navbar-wrapper">
			<div class="navbar navbar-fixed-top">
				<div class="container-fluid cl">
					<a class="logo navbar-logo f-l mr-10 hidden-xs" href="">FirstApp.Me</a>
					<span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.0</span>
					<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
					<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
						<ul class="cl">
							<!-- <li id="managerRole">超级管理员</li> -->
							<li class="dropDown dropDown_hover">
								<a href="javascript:;" class="dropDown_A">
									<span id="managerAccount">${operator.name}</span>
									<i class="Hui-iconfont">&#xe6d5;</i>
								</a>
								<ul class="dropDown-menu menu radius box-shadow">
<%-- 									<li>
										<a href="${ctx}/common/welcome.html" target="iframeContainer" data-title="我的桌面">我的桌面</a>
									</li> --%>
									<li>
										<a href="javascript:void(0);" id="alterPwd" target="iframeContainer" data-title="修改密码">修改密码</a>
									</li>
									<li>
										<a href="javascript:void(0);" id="logout">退出</a>
									</li>
								</ul>
							</li>
							<!-- <li id="Hui-msg"> <a href="javascript:;" title="消息"><span class="badge badge-danger">1</span><i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a> </li> -->
							
							<li id="Hui-skin" class="dropDown right dropDown_hover">
								<a href="javascript:;" class="dropDown_A" title="换肤">
									<i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i>
								</a>
								<ul class="dropDown-menu menu radius box-shadow">
									<li>
										<a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a>
									</li>
									<li>
										<a href="javascript:;" data-val="blue" title="蓝色">蓝色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="green" title="绿色">绿色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="red" title="红色">红色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="yellow" title="黄色">黄色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="orange" title="绿色">橙色</a>
									</li>
								</ul>
							</li>
						</ul>
					</nav>
				</div>
			</div>
		</header>
		<aside class="Hui-aside">
			<div class="menu_dropdown bk_2">
				<dl id="menu-personalSettings">
					<dt><i class="Hui-iconfont">&#xe602;</i> 商品管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:;" data-title="商品分类" _href="${ctx}/productManage/prdtCategoryList.html">商品分类</a>
							</li>
							<li>
								<a href="javascript:;" data-title="商品列表" _href="${ctx}/productManage/productList.html">商品列表</a>
							</li>
							<li>
								<a href="javascript:;" data-title="供应商列表" _href="${ctx}/productManage/suppliersList.html">供应商列表</a>
							</li>
						</ul>
					</dd>
				</dl>
<%-- 				<dl id="menu-personalSettings">
					<dt><i class="Hui-iconfont">&#xe602;</i> 充值管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:;" data-title="贝币充值" _href="${ctx}/productManage/mobileFareList.html">贝币充值</a>
							</li>
						</ul>
					</dd>
				</dl> --%>
<%-- 				<dl id="menu-member">
					<dt><i class="Hui-iconfont">&#xe611;</i> 卡密管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:;" data-title="卡密分类" _href="${ctx}/productManage/kamiCategoryList.html">卡密分类</a>
							</li>
							<li>
								<a href="javascript:;" data-title="卡密商品" _href="${ctx}/productManage/kamiProductList.html">卡密商品</a>
							</li>
						</ul>
					</dd>
				</dl> --%>
<%-- 				<dl id="menu-personalSettings">
					<dt><i class="Hui-iconfont">&#xe602;</i> 外部管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:;" data-title="外部商品" _href="${ctx}/productManage/outProductList.html">外部商品</a>
							</li>
						</ul>
					</dd>
				</dl> --%>
				<dl id="menu-schools">
					<dt><i class="Hui-iconfont">&#xe643;</i> 会员管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:void(0)" data-title="费用管理" _href="${ctx}/memberManage/cardFeeList.html">费用管理</a>
							</li>
							<li>
								<a href="javascript:void(0)" data-title="会员列表" _href="${ctx}/memberManage/memberList.html">会员列表</a>
							</li>
							<li>
								<a href="javascript:void(0)" data-title="推广记录" _href="${ctx}/memberManage/spreadOrderList.html">推广记录</a>
							</li>
<%-- 							<li>
								<a href="javascript:void(0)" data-title="合伙人列表" _href="${ctx}/memberManage/partnerList.html">合伙人列表</a>
							</li> --%>
						</ul>
					</dd>
				</dl>
				<dl id="menu-auth">
					<dt><i class="Hui-iconfont">&#xe70d;</i> 订单管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:void(0)" data-title="服务订单" _href="${ctx}/orderManage/softOrderList.html">服务订单</a>
							</li>
							<li>
								<a href="javascript:void(0)" data-title="商品订单" _href="${ctx}/orderManage/productOrderList.html">商品订单</a>
							</li>
<%-- 							<li>
								<a href="javascript:void(0)" data-title="卡密订单" _href="${ctx}/orderManage/kaMiOrderList.html">卡密订单</a>
							</li> --%>
<%-- 							<li>
								<a href="javascript:void(0)" data-title="充值订单" _href="${ctx}/orderManage/mobileFareOrderList.html">充值订单</a>
							</li> --%>
<%-- 							<li>
								<a href="javascript:void(0)" data-title="外部订单" _href="${ctx}/orderManage/outOrderExchangeList.html">外部订单</a>
							</li> --%>
							<li>
								<a href="javascript:void(0)" data-title="支付记录" _href="${ctx}/orderManage/paymentRecordList.html">支付记录</a>
							</li>
						</ul>
					</dd>
				</dl>
				<dl id="menu-role">
					<dt><i class="Hui-iconfont">&#xe62b;</i> 提现管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:void(0)" data-title="提现申请" _href="${ctx}/cashManage/cashApplyList.html">提现申请</a>
							</li>
						</ul>
					</dd>
				</dl>
				<dl id="menu-role">
					<dt><i class="Hui-iconfont">&#xe62b;</i> 转让中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:void(0)" data-title="转让列表" _href="${ctx}/transferManage/transferMemberProductList.html">转让列表</a>
							</li>
							<li>
								<a href="javascript:void(0)" data-title="转让记录" _href="${ctx}/transferManage/transferMemberRecordList.html">转让记录</a>
							</li>
						</ul>
					</dd>
				</dl>
				<dl id="menu-subsystem">
					<dt><i class="Hui-iconfont">&#xe654;</i> 营销管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:void(0)" data-title="Banner" _href="${ctx}/marketingManage/bannerList.html">Banner</a>
							</li>
							<li>
								<a href="javascript:void(0)" data-title="广播" _href="${ctx}/marketingManage/broadcastList.html">广播</a>
							</li>
						</ul>
					</dd>
				</dl>
				<dl id="menu-subsystem">
					<dt><i class="Hui-iconfont">&#xe654;</i> 系统管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						<ul>
							<li>
								<a href="javascript:void(0)" data-title="参数配置" _href="${ctx}/systemManage/systemParamList.html">参数配置</a>
							</li>
						</ul>
					</dd>
				</dl>
			</div>
		</aside>
		<div class="dislpayArrow hidden-xs">
			<a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
		</div>
		<section class="Hui-article-box">
			<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
				<div class="Hui-tabNav-wp">
					<ul id="min_title_list" class="acrossTab cl">
						<li class="active"><span title="我的桌面" data-href="${ctx}/welcome.html">我的桌面</span><em></em></li>
					</ul>
				</div>
				<div class="Hui-tabNav-more btn-group">
					<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a>
					<a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">
            &#xe6d7;</i></a>
				</div>
			</div>
			<div id="iframe_box" class="Hui-article">
				<div class="show_iframe">
					<div style="display:none" class="loading"></div>
					<iframe scrolling="yes" name="iframeContainer" frameborder="0" src="${ctx}/welcome.html"></iframe>
				</div>
			</div>
		</section>
		<script type="text/javascript">
			$(document).ready(function () {
				 var id = "${operator.id}";
				 $('#logout').click(function () {
					 $.ajax({
							type : 'post',
							url : ctx + '/loginManage/logout.do',
							data : {

							},
							dataType : 'json',
							timeout : 30000,
							context : $('body'),
							success : function(data) {
								if (data.code == "ok") {
				                   window.location.href= ctx + "/index.html";
								} else {
									 layer.msg(data.msg, {icon: 5, time: 2000});
								}
							},
							error : function(xhr, type) {
								layer.msg('登出失败!', {icon: 5, time: 2000});
							}
				 		});
				 });
				 $('#alterPwd').click(function () {
					 var url = ctx + "/operatorManage/alterOperatorPassword.html?id="+id;
					 layer_show("修改密码",url);
				 });
			});
		</script>
	</body>
</html>